home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / prokit34.zip / PROUTIL2.INT < prev    next >
Text File  |  1991-04-01  |  1KB  |  49 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1991 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. unit ProUtil2;
  14.  
  15. interface
  16.  
  17. Uses
  18.    Dos,
  19.    Tools,
  20.    MdosIO,
  21.    BufIO,
  22.    ProData;
  23.  
  24. procedure copy_file(source,dest: string65);
  25.    (* copy a file from one place to another *)
  26.  
  27. procedure move_file(source,dest: string65);
  28.    (* move a file from one place to another;  quickly rename if
  29.       possible, otherwise copy and delete.  touches file to make
  30.       file-date = date moved or copied *)
  31.  
  32. procedure execute(command: string);
  33.  
  34. procedure build_download_list;
  35.  
  36. procedure load_config_file;
  37.  
  38. function verify_access(fname:      anystring;           {function name}
  39.                        flevel:     integer;             {minimum level}
  40.                        fpassword:  anystring;           {password if any}
  41.                        fmessage:   anystring)           {failure message}
  42.                           : boolean;
  43.  
  44. function file_allowed(path:       anystring;    {name to verify}
  45.                       secfile:    filenames)    {fsec/upsec name}
  46.                          : boolean;
  47.  
  48. implementation
  49.